package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 七安
* @description 针对表【setmeal(套餐)】的数据库操作Service
* @createDate 2022-08-12 16:37:53
*/
public interface SetmealService extends IService<Setmeal> {

    Page<Setmeal> findPage(Integer page, Integer pageSize, String name);

    void saveSetmeal(Setmeal setmeal);

    Setmeal findById(Long id);

    void updateSetmeal(Setmeal setmeal);

    void deleteSetmeal(List<Long> ids);

    List<Setmeal> findSetmeal(Long categoryId, Integer status);

    List<Dish> findDish(Long id);

}
